﻿@inherits LayoutComponentBase

<Layout AdditionalStyle="overflow:hidden;height:100vh;">
    <HeaderContent>
        <Menu AdditionalStyle="box-shadow: inset 0 -1px 0 #e7e7e7;padding:0 24px;">
            <LogoContent>
                <img alt="TDesignBlazor Logo" width="200" src="https://tdesign.gtimg.com/site/TDesignBlazor.png">
                &nbsp;&nbsp;
                <h2><i>基于 TDesignBlazor 的 Blazor 企业级组件库</i></h2>
            </LogoContent>
            <OperationContent>
                <a href="https://github.com/AchievedOwner/TDesignBlazor" title="源码" target="_blank">
                    <Icon Name="IconName.LogoGithubFilled" />
                </a>
            </OperationContent>
        </Menu>
    </HeaderContent>
    <LeftSideContent>
        <div style="overflow-y:auto;height:95vh;overflow-x:hidden">
        <NavMenu />
        </div>
    </LeftSideContent>
    <ChildContent>
        <div style="padding:24px;background:#fff;height:88vh;overflow-y:auto;overflow-x:hidden">
            @Body
        </div>
    </ChildContent>
    <FooterContent>
        <div style="text-align:center;height:100vh">
            TDesignBlazor © William 2022 当前版本 v0.1
        </div>
    </FooterContent>
</Layout>